package com.yujistu.fragment.appointfragment.couseadapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.yujistu.R;
import com.yujistu.adapter.BaseListAdapter;

import java.util.ArrayList;

/**
 * Created by Win on 2015/11/11.
 */
public class StudEvAdapter extends BaseListAdapter {

    public Context  mContext;
    public LayoutInflater  inflater;
    public ArrayList<String>   item = new ArrayList<>();

    public StudEvAdapter(Context context) {
        super(context);
      //  this.mContext = context;
    }

    @Override
    public int getCount() {
        return 10;
    }

    @Override
    protected View getRealView(int position, View convertView, ViewGroup viewGroup) {
        ViewHolder holder = null;
        if(convertView == null){
           holder = new ViewHolder(convertView);
           convertView = mInflater.inflate(R.layout.view_venues_detail_student_evaluate_item, null);
            convertView.setTag(holder);
        }else{
            holder = (ViewHolder) convertView.getTag();
        }
        return convertView;
    }

    public class ViewHolder extends BaseViewHolder{

        public ViewHolder(View view) {
            super(view);

        }
    }
}
